package com.ruoyi.aslife.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 登入日志管理对象 loginlog
 * 
 * @author ruoyi
 * @date 2022-12-01
 */
public class Loginlog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long lid;

    /** 登入账号 */
    @Excel(name = "登入账号")
    private String useremail;

    /** 登入时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登入时间戳", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logintime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 其他说明 */
    @Excel(name = "其他说明")
    private String info;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    public void setLid(Long lid) 
    {
        this.lid = lid;
    }

    public Long getLid() 
    {
        return lid;
    }
    public void setUseremail(String useremail) 
    {
        this.useremail = useremail;
    }

    public String getUseremail() 
    {
        return useremail;
    }
    public void setLogintime(Date logintime) 
    {
        this.logintime = logintime;
    }

    public Date getLogintime() 
    {
        return logintime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lid", getLid())
            .append("useremail", getUseremail())
            .append("logintime", getLogintime())
            .append("status", getStatus())
            .append("info", getInfo())
            .append("uid", getUid())
            .toString();
    }
}
